﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LevelEditor.model.elements
{
    class Elevator : AbstractPGameObject
    {
        #region Variables
        private float m_speed;
        private float m_limitMass;

        #endregion

        #region Constructeurs
        public Elevator(string name, Dictionary<String, String> pGameObjectData, float speed, float limitMass )
            : base(name, pGameObjectData)
        {
            m_speed = speed;
            m_limitMass = limitMass;
        }

        #endregion

        #region Getters && Setters
        public float speed
        {
            get { return m_speed; }
            set { m_speed = value; }
        }

        public float limitMass
        {
            get { return m_limitMass; }
            set { m_limitMass = value; }
        }

        #endregion
    }
}
